using System;
using System.Collections.Generic;
using System.Text;
using Marlimer.Common;
using System.Data;
using System.Data.SqlClient;

namespace Marlimer.Data.Universal
{
    public class uni_DiaVisita
    {
        public DataTable getDTDiaVisita()
        {
            SqlCommand sqlcmd = new SqlCommand();
            SqlDataAdapter da = new SqlDataAdapter();
            DataSet ds = new DataSet();
 
            sqlcmd.CommandText = "spsdtDiaVisita";
            sqlcmd.CommandType = CommandType.StoredProcedure;
            sqlcmd.Connection = Session.getConexion();

            da.SelectCommand = sqlcmd;
            da.Fill(ds);

            return ds.Tables[0];
        }
    }
}
